package info;

import java.io.Serializable;
import java.util.Date;

public class FlightTicket implements Serializable {
    private String Flight;
    private Date Fdate;
    private String Fclass = "经济舱";
    private float Price;
    private int Tickets;

    public FlightTicket(String flight, Date fdate, String fclass, float price, int tickets) {
        Flight = flight;
        Fdate = fdate;
        Fclass = fclass;
        Price = price;
        Tickets = tickets;
    }

    public String getFlight() {
        return Flight;
    }

    public void setFlight(String flight) {
        Flight = flight;
    }

    public Date getFdate() {
        return Fdate;
    }

    public void setFdate(Date fdate) {
        Fdate = fdate;
    }

    public String getFclass() {
        return Fclass;
    }

    public void setFclass(String fclass) {
        Fclass = fclass;
    }

    public float getPrice() {
        return Price;
    }

    public void setPrice(float price) {
        Price = price;
    }

    public int getTickets() {
        return Tickets;
    }

    public void setTickets(int tickets) {
        Tickets = tickets;
    }
}
